#ifndef COORD_COMMON_H
#define COORD_COMMON_H
//-----------------------------------------------------------------
#include "log/CLog.h"
//-----------------------------------------------------------------
#define COORD_VER "coord v.1"
//-----------------------------------------------------------------
#define COORD_CONF "coord.conf"
//-----------------------------------------------------------------
// cube spaces
//-----------------------------------------------------------------
#define BULK_SIZE 10000
//#define BULK_SIZE 1000
#define MAX_FILE_READ_BUF_SIZE 1024
//-----------------------------------------------------------------
// memory-related task
//-----------------------------------------------------------------
#define zap(x) if(x){delete(x); x=0;}
//-----------------------------------------------------------------
// parameters for coord
//-----------------------------------------------------------------
#define COORD_ACTION "coord.action"
#define COORD_MASTER_WORKER "coord.master-worker"
#define COORD_ID "coord.id"
#define COORD_KEY "coord.key"
//-----------------------------------------------------------------
#endif
